package com.mondo.financialwallet.domain.interactor;

import com.mondo.financialwallet.domain.executor.PostExecutionThread;
import com.mondo.financialwallet.domain.model.Response;
import com.mondo.financialwallet.domain.model.User;

import io.reactivex.Observable;

/**
 * 用户登录
 */
public class PostUserLogin extends UseCase<Response<User>, PostUserLogin.Params> {

    public PostUserLogin(PostExecutionThread postExecutionThread) {
        super(postExecutionThread);
    }

    @Override
    Observable<Response<User>> buildUseCaseObservable(Params params) {
        return null;
    }

    public static class Params {
        public String password;
        public String mobileNumber;

        public Params(String mobileNumber, String password){
            this.mobileNumber = mobileNumber;
            this.password = password;

        }
    }
}
